package com.ysy.entity.dto;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class NoteLikeOrUnlikeDTO implements Serializable {

    private Long noteId;

    /**
     * userId
     */
    private Long userId;

    /**
     * 0: 取消点赞， 1：点赞
     */
    private Integer type;

    /**
     * 笔记发布者 ID
     */
    private Long noteCreatorId;
    /**
     * 时间
     */
    private LocalDateTime createTime;

}
